<!doctype html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>${_front_title}</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="shortcut icon" href="/static/favicon.ico" />
    <link rel="stylesheet" href="${_front_css}/base.css">
	<link rel="stylesheet" href="${_front_css}/home.css">
    <link rel="stylesheet" href="${_front_css}/account/account.css">
    <link rel="stylesheet" href="${_front_css}/account/account-redeem.css">
     <link rel="stylesheet" href="${_front_css}/account/account-points.css">
    <script type="text/javascript" src="${_front_js}/jquery.min.js"></script>
    <script src="${_front_js}/tabs.js"></script>
</head>

<body>
    <!-- 头部 开始 -->
		<#include "../base/top.ftl" />
	<!-- 头部 结束 -->
    <div class="member">
        <div class="memberLeft">
            <div class="title">我的账户</div>
            <#include "base.ftl" />
        </div>
        <div class="memberRight info">
            <div class="box switching">
                <ul class="tab_menu">
                    <li class="current">积分记录</li>
                    <li >我的兑换</li>
                    <li>收货地址</li>
                </ul>
                <div class="tab_box">
                    <div class="">
                       <div class="de-tab">
                            <div class="article">
                                <div class="r-top">
                                    <ul>
                                        <li>
                                            <p>积分总数</p>
                                        </li>
                                        <li>
                                            <p>可用积分</p>
                                        </li>
                                        <li>
                                            <p>已用积分</p>
                                        </li>
                                    </ul>
                                </div>
                                <div class="r-bottom" style="padding-top:0px;margin-top:-1px;">
                                	<#if score??>
			                            <ul>
			                                <li>
				                                <p>
					                                <#if score.score??>
						                            	${score.score}
						                            <#else>
						                            	0
						                            </#if>            	
				                                </p>
			                                </li>
			                                <li>
			                                	<p>
			                                		<#if score.usableScore??>
						                            	${score.usableScore}
						                            <#else>
						                            	0
						                            </#if> 
			                                	</p>
			                                </li>
			                                <li>
			                                	<p>
			                                		<#if score.alreadyScore??>
						                            	${score.alreadyScore}
						                            <#else>
						                            	0
						                            </#if> 
			                                	</p>
			                                </li>
		                                </ul>
		                            <#else>
		                            	<ul>
		                            		<li>
		                            			<p>0.0</p>
		                            		</li>
		                            		<li>
		                            			<p>0.0</p>
		                            		</li>
		                            		<li>
		                            			<p>0.0</p>
		                            		</li>
		                            	</ul>
		                            </#if>
                                </div>
                            </div>
                            
                        </div>
                        <div class="detail">
                        	<div class="title">积分记录查询</div>
                        	<div class="myhome_content tab_content clearfix">
                    <div class="myhome_srh">
                        <form action="" id="searchForm">
                            <input type="hidden" name="type" value="">
                            <input type="hidden" name="curPage" id="pageNum">
                            <ul class="clearfix">
                                <li>历史时间：
                                    <input type="text" class="test2" id="start-time" name="" value="" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:'readOnly'})" placeholder="请选择开始时间">&nbsp;&nbsp; 到&nbsp;&nbsp;
                                    <input type="text" class="test2" id="end-time" name="" value="" onclick="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:'readOnly'})"  placeholder="请选择结束时间">
                                </li>
                                <li>类型：
                                    <select name="" id="opt-type">
                                        <option value="">请选择</option>
                                        <option value="in">收入</option>
                                        <option value="out">支出</option>
                                    </select>
                                </li>
                                <li>
                                    <input type="button" class="myhome_btn" value="搜 索" id="search">
                                </li>
                            </ul>
                        </form>
                    </div>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zh_table" style="margin-top:10px;">
                    	<thead>
                            <tr>
                                <th>时间</th>
                                <th>类型</th>
                                <th>积分数量</th>
                                <th>途径</th>
                                <th>备注</th>
                            </tr>
                        </thead>
                        <tbody id="points"></tbody>
                        <#if (pageInfo?? & pageInfo.pageList?size>0)>
                        <#else>
                        	<tr align="center">
                                <td colspan="8">暂无数据</td>
                            </tr>
                        </#if>
                    </table>
                    </div>
                        </div>
                    </div>
                    <div class="hide">
                        <div class="myhome_content tab_content clearfix">
                            <div class="myhome_srh">
                                <form action="homeBorrowInvestList.do" id="searchForm">
                                    <input type="hidden" name="type" value="">
                                    <input type="hidden" name="curPage" id="pageNum">
                                    <ul class="clearfix">
                                        <li>查询时间：&nbsp;&nbsp; 从&nbsp;&nbsp;
                                            <input type="text" class="test1" id="" name="" value="">&nbsp;&nbsp; 到&nbsp;&nbsp;
                                            <input type="text" class="test1" id="" name="" value="">
                                        </li>
                                        <li>
                                            <input type="button" class="myhome_btn" value="查询" id="search">
                                        </li>
                                    </ul>
                                </form>
                            </div>
                            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="zh_table" style="margin-top:10px;">
                                <tbody>
                                    <tr>
                                        <th>兑换编号</th>
                                        <th>兑换时间</th>
                                        <th>商品编号</th>
                                        <th>商品名称</th>
                                        <th>商品价格</th>
                                        <th>使用积分</th>
                                        <th>状态</th>
                                        <th>说明</th>
                                        <th>操作</th>
                                    </tr>
                                    <tr align="center">
                                        <td colspan="9">暂无数据</td>
                                    </tr>
                                </tbody>
                            </table>
                        </div>
                    </div>
                    <div class="hide">
                        <div class="myhome_tx clearfix">
                            <ul>
                                <li>
                                    <span>
                                        <em class="fred">* </em>收货人：
                                        </span>
                                    <input type="text" class="test1">
                                    <span class="caveat">请填写</span>
                                </li>
                                <li>
                                    <span>
                                        <em class="fred">* </em>
                                        所在地区：</span>
                                    <select name="" id="">
                                        <option value="">--请选择--</option>
                                        <option value="">武汉市</option>
                                    </select>
                                    <select name="" id="">
                                        <option value="">--请选择--</option>
                                        <option value="">武昌区</option>
                                    </select>
                                    <span class="caveat">请填写</span>
                                </li>
                                <li>
                                    <span>
                                        <em class="fred">* </em>详情地址：
                                        </span>
                                    <input type="text" class="test1">
                                    <span class="caveat">请填写</span>
                                </li>
                                <li>
                                    <span><em class="fred">* </em>
                                        手机号码：
                                        </span>
                                    <input type="text" class="test1">
                                    <span class="tishi">用于接收发货通知短信</span>
                                    <span class="caveat">请填写</span>
                                </li>
                                <li>
                                    <span>
                                        固定电话：
                                        </span>
                                    <input type="text" class="test1">
                                    <span class="tishi">用于送货前确认</span>
                                </li>
                                <li>
                                    <span>
                                        电子邮箱：
                                        </span>
                                    <input type="text" class="test1">
                                </li>
                                <li>
                                    <span>
                                        邮政编码：
                                        </span>
                                    <input type="text" class="test1">
                                </li>
                            </ul>
                            <button class="but button1">保存</button>
                            <button class="but button3">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    </div>
    <!-- 底部 开始 -->
	<#include "../base/foot.ftl" />
	<!-- 底部 结束 -->
	<script type="text/javascript" src="${_front_js}/My97DatePicker/WdatePicker.js"></script>
    <script type="text/javascript" src="${_front_js}/common.js"></script>
</body>

</html>
